package com.jg.visitor.controller.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class UserDTO {
    @ApiModelProperty("后台人员id")
    private Long id;

    @ApiModelProperty("后台人员账号名称")
    private String username;

    @ApiModelProperty("token")
    private String token;

    @ApiModelProperty("snakeToken")
    private String snakeToken;

    @ApiModelProperty("登录用户类型 1被访者 2安全员 3管理员")
    private Integer type;

    private String typeName;

    @ApiModelProperty("登录时间")
    private String loginTime;

    @ApiModelProperty("过期时间")
    private String expireTime;

    @ApiModelProperty("昵称")
    private String nickname;

    @ApiModelProperty("上次登录时间")
    private String oldLoginTime;

    @ApiModelProperty("头像url")
    private String avatar;
}
